﻿namespace Beeflys
{
    public abstract class AMountable : AObject
    {
        internal virtual void Constructor(AActor actor, ILogger logger)
        {
            base.Constructor(logger);
            
            this.Actor = actor;
            this.Name = this.GetType().FullName;
        }

        internal override void Destructor()
        {
            base.Destructor();
            
            this.Name = null;
            this.Actor = null;
        }

        public string Name
        {
            get; 
            private set;
        }
        
        public AActor Actor
        {
            get;
            private set;
        }
    }
}